Overview
Using a theme
To use the default chart theme, you don't need to pass any parameters other than the DxChartsScreen
function as the 'content
' parameter:
//...DxChartsTheme {DxChartsScreen(/* ... */)}//...
To modify the sizes of UI elements, their paddings, colors, corners, and so on, you can adjust the parameters of DxChartsTheme
:
//...DxChartsTheme(colors = /*...*/,typography = /*...*/,dimensions = /*...*/,toolbarIcons = /*...*/,commonIcons = /*...*/,topBarIcons = /*...*/,studiesIcons = /*...*/,shapes = /*...*/) {DxChartsScreen(/* ... */)}//...